package com.netease.nimlib.ipc.cp.data;

import android.content.Context;

/**
 * 空的数据处理器
 * <p>
 * Created by huangjun on 2017/11/1.
 */
public class DefaultDataHandler extends IDataHandler {

    public DefaultDataHandler(Context context, String name) {
        super(context, name);
    }

    @Override
    public boolean hasKey(String key) {
        return false;
    }

    @Override
    public String onQueryString(String key, String defaultValue) {
        return null;
    }

    @Override
    public boolean onQueryBoolean(String key, boolean defaultValue) {
        return false;
    }

    @Override
    public int onQueryInt(String key, int defaultValue) {
        return 0;
    }

    @Override
    public float onQueryFloat(String key, float defaultValue) {
        return 0;
    }

    @Override
    public long onQueryLong(String key, long defaultValue) {
        return 0;
    }

    @Override
    public void onHandleString(String key, String value) {

    }

    @Override
    public void onHandleBoolean(String key, boolean value) {

    }

    @Override
    public void onHandleInt(String key, int value) {

    }

    @Override
    public void onHandleFloat(String key, float value) {

    }

    @Override
    public void onHandleLong(String key, long value) {

    }

    @Override
    public void onHandleVoid(String key, String value) {

    }

    @Override
    public void onRemoveKey(String key) {

    }
}
